package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Detectdetail;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface DetectdetailService {

	public Detectdetail saveDetectdetail(Detectdetail detectdetail);

	public Set<Detectdetail> loadDetectdetails();

	public Set<Detectdetail> loadReferenceDetectdetails(Set<Detectdetail> detectdetails);

	public Set<Detectdetail> loadDetectdetailsByIdSet(Set<Integer> detectdetailsId);

	public Map<String, ?> loadDetectdetailObjectReferencedSet(Detectdetail detectdetail);

	public Map<String, ?> loadDetectdetailClassReferencedSet(Detectdetail detectdetail);

	public void deleteDetectdetail(Detectdetail detectdetail);

	public void deleteDetectdetails(Set<Integer> deleteDetectdetailsId);

	public List<Detectdetail> findAllDetectdetails(Integer startResult, Integer maxRows);

	public Detectdetail findDetectdetailByPrimaryKey(Integer id);

	public Integer countDetectdetails();

	public Integer countDetectdetails(CmiPagination page);

	public Integer countDetectdetailsByName(String queryName);

	public Integer countDetectdetailsByDetachedCriteria(CmiPagination page);

}
